home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
me_cd25.zip
/
DOC.ZIP
/
QREF.DOC
< prev
next >
Wrap
Text File
|
1992-11-09
|
4KB
|
130 lines
ME2 Quick Reference
'^' is the control key, '$' is the escape or meta key, * means Mutt program
A BLOCK is all the lines between dot and mark (inclusive)
Characters Words
---------- -----
^B previous character $B previous word
^F next character $F next word
^D delete next character $D delete next word
^H backspace $^H delete previous word
^Q ^^ quote next typed character $L lowercase word
^T transpose characters $U uppercase word
$C capitalize word
Lines
-----
^A beginning of line
^E end of line
^P previous line
^N next line
^K Delete till newline; if just newline, delete it
^J insert newline, match indent of previous line
^O open a blank line at dot
$G move cursor to a given line
Windows
-------
^X^N scroll window up one line
^X^P scroll window down one line
$V previous page
^V next page
$! move current line to top of window
^X0 delete current window
^X1 delete other windows
^X2 split this window
^X^ enlarge this window one line
^X^Z shrink this window one line
^Xp previous window
^Xo next window
Buffers (use space bar for buffer name completion, "?" for list)
-------
^Y insert the contents of the cut buffer at dot
^X^O switch to an existing buffer
^Xb switch to a buffer, creating it if it does not exist
^Xk delete a buffer
$< beginning of buffer
$> end of buffer
^X^B show stats on all buffers
^X= show stats on current buffer
F-2 next buffer
Regions (the text between the dot and mark)
-------
^W delete region and save in the cut buffer
$W copy region to the cut buffer
^X^L convert region to lower case
^X^U convert region to upper case
^X^I indent block right or left
Marks
-----
^@ set mark
$SPACE set mark
^X^X exchange dot and mark
$^P save current position in mark ring (ring holds 4 marks)
$P goto next mark in mark ring
Files
-----
^X^V read named file, creating a buffer to hold it
^X^R read named file into current buffer, erasing old contents
^Xi insert named file into buffer at dot
^X^S write the current buffer to its associated file
^X^W write the current buffer to named file
^Xf read next file on command line, creating a buffer to hold it
Search and Replace
------ --- -------
^S ^^ search forward
^R search backward
$Q $% query search and replace:
hit "y" to change and continue
hit "n" to not change and continue
hit "!" to change all without asking
hit ^G to abort.
$^S regular expression search forward
$^Q regular expression query search and replace
Macros
------
^X( start remembering keystrokes
^X) stop remembering keystrokes
^Xe replay remembered keystrokes
Misc
----
^Xu ^_ undo
^X^C ^C exit ME
^G abort command
^L redraw screen
^U repeat count for the next command (default = 4)
eg "^U nnn command"
^X! execute a shell command (eg "^X! ls")
^Z fork a shell, returning to ME with "exit"
$? give a keyword and get a list of commands that have that word in them
F-6 show matching () or {}
c-mode * Turned on when editing a buffer with extension of .h or .c
------
$J format block as a C comment
^U$J format block as a C block comment
$; toggle block comment mode. Useful for reediting a block comment
^J leave some white space after variable block
text-mode * Turned on when editing a buffer with extension of .doc or .txt
---------
word wrap column = 72
Enter newline and match the indent of the previous line
$J format block ragged right
$S center the line the cursor is on
underline-line
$X commands (use $X <command-name> to run)
-- -------- use space bar for command completion, "?" for list
bind-to-key run a command when key is pressed
describe-bindings find out all the commands
describe-key find out which command is bound to a key
rectangle commands: clear-rectangle, copy-rectangle, cut-rectangle,
erase-rectangle
spell-buffer, spell-region *check spelling